package com.quant.background.modular.business.saleForm.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author:chariputh
 * @data:2024/12/14
 */
@Data
public class SaleFormQuery {
    @Schema(description = "商品名称")
    private String commodityName;
    @Schema(description = "商品首字母")
    private String commodityAcronym;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "单据编号")
    private String saleNumber;
    @Schema(description = "客户类型")
    private String customerType;
    @Schema(description = "客户名称")
    private String customerName;
    @Schema(description = "销售日期开始")
    private Date saleDateBegin;
    @Schema(description = "销售日期结束")
    private Date saleDateEnd;
    @Schema(description = "销售员名称")
    private String salesmanName;
    @Schema(description = "销售金额小")
    private BigDecimal subtotalSum;
    @Schema(description = "销售金额大")
    private BigDecimal subtotalSumBig;
    @Schema(description = "销售渠道")
    private String marketingChannel;

    @Override
    public String toString() {
        return "SaleFormQuery{" +
                "commodityName='" + commodityName + '\'' +
                ", commodityAcronym='" + commodityAcronym + '\'' +
                ", remark='" + remark + '\'' +
                ", saleNumber='" + saleNumber + '\'' +
                ", customerType='" + customerType + '\'' +
                ", customerName='" + customerName + '\'' +
                ", saleDateBegin=" + saleDateBegin +
                ", saleDateEnd=" + saleDateEnd +
                ", salesmanName='" + salesmanName + '\'' +
                ", subtotalSum=" + subtotalSum +
                ", subtotalSumBig=" + subtotalSumBig +
                ", marketingChannel='" + marketingChannel + '\'' +
                '}';
    }
}
